<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>imooc 320 HTML</title>
</head>

<body>
    <p>imooc 320 HTM</p>

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script>
        // ajax 请求
        $.get('/api/test', res => {
            console.log('res', res)
        })
    </script>
</body>

</html>